---
layout: "default"
keywords: ""
description: "Swift documentation for 'all'"
root: "/v5.1"
title: "all"
---

<div class="intro-declaration"><code class="language-swift">func all(_:)(_ mask: SIMDMask&lt;Storage>) -> Bool</code></div><div class="discussion comment"><p>True if every lane of mask is true.
</p>
</div>